made generate_file_map