1. An information processing apparatus that processes image data received by a facsimile or by a scanner, the apparatus comprising: a character identifying unit that performs character identification with respect to an image in the image data; and a file name setting unit that sets a file name of the image data based on, when the character identifying unit identifies a character or a character string, the character or the character string obtained as a result of the character identification, and based on, when the character identifying unit does not identify a character or a character string, a date or a time when the image data was received or acquired.