1. A file name producing apparatus that produces a file name of an image, the apparatus comprising a processor configured to: extract one or more character strings from said image; select a candidate character string from character strings extracted from said image; determine whether a head character of the candidate character string is a space; when the processor determines that the head character of the candidate character string is not a space, produce the candidate character string as the file name of the image; when the processor determines that the head character of the candidate character string is a space, accept an input indicating whether the candidate character string is to be used as a file name; when the processor determines that the candidate character string is to be used as the file name, correct said candidate character string by removing the head character that is a space; produce the corrected candidate character string as the file name of said image; and when the processor determines that the candidate character string is not to be used as the file name, produce a different character string extracted from the image other than the candidate character string as the file name of the image.