Bug fix in changing file_name to file_path