def filenames(filenames_file):
   """Returns list of files from filenames file"""
   with open(filenames_file, 'r') as file:
       files = []
       for line in file:
           line = line.strip()
           if(len(line) == 0):
               continue
           
           files.append(line)

   return files