A non-transitory, computer-readable storage medium storing computer-readable instructions executable by a processor of a control device configured to control a reading device, which is configured to read a document, the computer-readable instructions instructing the processor to execute functions comprising:
- determining whether a read image comprises a table image comprising a plurality of cell images arranged in one or more of rows and columns;
- generating a first file, which corresponds to the read image, in a first file format when the processor determines that the read image comprises the table image;
- and
- generating a second file, which corresponds to the read image, in a second file format when the processor determines that the read image does not comprise the table image,
- wherein the second file is different from the first file, and
- wherein the second file format is different from the first file format.