Also write warnings about broken filenames to the log file