script to download the set of the alien files
# Arguments:
# $1 fileList
# $2 timeOut in seconds
# $3 nprocess
# $4 prefix
#
# Algorithm:
# 1. Check the input parameters
# 2. Group randomly the files into the group - generates nprocess download scripts
# 3. Start $nprocess to download the files - with forced timeout
# Example usage:
# 1. Create file list
# alien_find /alice/data/2010/LHC10h/
000138795/pass0_2 root_ar | grep root > file.list
# 2. run script with timeout 60 and n processes 10 and the sarting diectory -current directory
# $ALICE_ROOT/PWG1/CalibMacros/MergeCalibration/alienDownloadTimeOut.sh file.list 60 30 `pwd`