Fix bug on detecting unparsable files.