Fix get_file_by_id() function call