optimizes get_csv_file_direct for speed with list comprehension