Handle broken files in parse attempts better