1. A method to control an image processing apparatus, the method comprising: obtaining linkage information representing a relation between a plurality of image files; and recording the linkage information as metadata in each of the plurality of image files.