Fixed get_file_mappings. It now returns a dictionary.