Make get_file_name a private method