1)last two functions in get_file 2)be careful that file name in list ends with .gz/bz2