Patent ID: 8773742

Claim:
A control device for controlling a scan executing unit that scans an original, the control device comprising: one or more processors; and a memory that stores a computer program including instructions executed by the one or more processors, wherein the instructions cause the one or more processors, when executed by the one or more processors, to function as: a selection allowing unit configured to allow a user to select a specific file among a plurality of files, each of the plurality of files having a file format that is capable of including a plurality of pages worth of data, the specific file including M pages worth of data (M being an integer equal to 1 or more); and a creating unit configured to create a first file including M+N pages worth of data by using N pages worth of scan data (N being an integer equal to 1 or more) created by making the scan executing unit execute scanning of the N pages worth of original and the M pages worth of data included in the specific file, the first file having a same file format as the specific file, and wherein the creating unit is further configured to: create the first file based on either a copy file obtained by copying the specific file or the specific file in a case where the specific file includes an electronic signature, and create the first file based on the specific file without copying the specific file in a case where the specific file does not include the electronic signature.