#698: Ignore type checking if the file type is empty