1. A computer implemented optical character recognition (OCR) system functioning together with a scanner comprising: a user-input function for receiving a user input sample document and storing the sample document in a data storage wherein the OCR system referring to sample document attributes including a specific computer file type or file format and sample structural characteristics wherein said OCR system further applies the scanner for optically inputting and recognizing an image document to generate an output file comprising an output document based on the image document by constructing and generating the output document to have the same computer file type or file format as said user input sample document.