added likely_file_type_to_string and likely_file_type_from_string