Patent ID: 7639925

Claim:
A file management system for managing data of photographed images as a file, comprising: a mounting unit that detachably mounts a recording medium for recording the file; a counter that stores a numerical value information to determine a numerical value to be used for a file name of the file, said counter counting up the numerical value information for every photographed image; a generator that generates the file name of the file by using the numerical value information stored in said counter, when the image is photographed; a comparison unit that compares the numerical value information stored in said counter with a maximum numerical value of the numerical values used in the file names of the files recorded on the recording medium; and a selection unit that selects, if the recording medium detachably mounted on said mounting unit is changed to a different recording medium to be mounted thereon, one of the numerical value information stored in said counter and the maximum numerical value as a reference numerical value in accordance with a result of a comparison by said comparison unit between the numerical value information stored in said counter immediately before the recording medium mounted on said mounting unit is changed to the different recording medium and the maximum number of the numbers used as the file names of the files recorded on the different recording medium, wherein said generator determines the file name of an image to be photographed first after the recording medium mounted on said mounting unit is changed to the different recording medium, on the basis of the reference numerical value selected by said selection unit.