1. A device for identifying types of document files comprising: an extraction unit that extracts document feature information indicating distinguishing information for a document included in a document file; an evaluation unit that verifies the validity of the document feature information extracted by the extraction unit; and a document type identification unit that identifies a type of the document file corresponding to the document feature information extracted by the extraction unit if the document feature information is valid.