Fixed the output for files with invalid infos