16. A non-transitory computer readable storage medium having stored thereon a program that when executed by a computer causes the computer to implement a process of managing a document using a document management system that includes an image data storing unit for storing a scanned image file, a scanning unit for reading a document, generating image data, acquiring a document identifier assigned to the document, assigning a file name generated based on the document identifier to the image data, and recording the image data in the image data storing unit as a scanned image file, a document management server including a destination folder for storing the scanned image file, and a file name conversion table, wherein the document management server acquires the scanned image file stored in the image data storing unit, specifies the destination folder based on the document identifier contained in the file name of the scanned image file using the file name conversion table, and stores the scanned image file in the destination folder.
16. A non-transitory computer readable storage medium having stored thereon a program that when executed by a computer causes the computer to implement a process of managing a document using a document management system that includes an image data storing unit for storing a scanned image file, a scanning unit for reading a document, generating image data, acquiring a document identifier assigned to the document, assigning a file name generated based on the document identifier to the image data, and recording the image data in the image data storing unit as a scanned image file, a document management server including a destination folder for storing the scanned image file, and a file name conversion table, wherein the document management server acquires the scanned image file stored in the image data storing unit, specifies the destination folder based on the document identifier contained in the file name of the scanned image file using the file name conversion table, and stores the scanned image file in the destination folder. 19. The non-transitory computer readable medium according to claim 16 , wherein the acquiring further comprises acquiring, using the scanning unit, the document identifier assigned to the document by comparing the image data generated by the scanning unit with image patterns stored in a template database and selecting a portion of the document based on which template is found to match the document in the comparison.