A non-transitory computer-readable medium having a computer program stored thereon and readable by a computer, the computer program, when executed by the computer, causing the computer to functions as:
- a document image acquiring unit configured to acquire document image data which is generated by optically reading a document and represents a document image;
- an area image generating unit configured to divide the document image data so as to generate plural area image data representing plural area images that are included in the document image;
- and
- a file generating unit configured to generate a file including the plural area image data such that the plural area images are disposed in different pages.