Fix get_file_by_filename() function call