A controlling device for controlling a scan performing unit, the controlling device comprising: a determination unit configured to determine an output resolution according to one type of file format selected from a plurality of types of file format, the output resolution being a resolution of image data to be included in a target file of a generation target, the plurality of types of file format including a first type of file format and a second type of file format different from the first type of file format, the first type of file format being a file format having a page concept and the second type of file format being a file format not having a page concept; and a scan controlling unit configured to cause the scan performing unit to perform a scan of an original so as to generate scan data in order to cause a generating unit to generate the target file, the generating unit configured to generate the target file including the image data obtained using the scan data, the image data having the determined output resolution, wherein the determination unit is configured to where the selected file format is the first type of file format and the scan performing unit is to perform a scan of multiple pages of the original, determine a first resolution as the output resolution, where the selected file format is the second type of file format, determine a second resolution as the output resolution, the first resolution being lower than the second resolution, and where the selected file format is the first type of file format and the scan performing unit is to perform a scan of only one page of the original, determine the second resolution as the output resolution. a determination unit configured to determine an output resolution according to one type of file format selected from a plurality of types of file format, the output resolution being a resolution of image data to be included in a target file of a generation target, the plurality of types of file format including a first type of file format and a second type of file format different from the first type of file format, the first type of file format being a file format having a page concept and the second type of file format being a file format not having a page concept; and a scan controlling unit configured to cause the scan performing unit to perform a scan of an original so as to generate scan data in order to cause a generating unit to generate the target file, the generating unit configured to generate the target file including the image data obtained using the scan data, the image data having the determined output resolution, wherein the determination unit is configured to where the selected file format is the first type of file format and the scan performing unit is to perform a scan of multiple pages of the original, determine a first resolution as the output resolution, where the selected file format is the second type of file format, determine a second resolution as the output resolution, the first resolution being lower than the second resolution, and where the selected file format is the first type of file format and the scan performing unit is to perform a scan of only one page of the original, determine the second resolution as the output resolution. where the selected file format is the first type of file format and the scan performing unit is to perform a scan of multiple pages of the original, determine a first resolution as the output resolution, where the selected file format is the second type of file format, determine a second resolution as the output resolution, the first resolution being lower than the second resolution, and where the selected file format is the first type of file format and the scan performing unit is to perform a scan of only one page of the original, determine the second resolution as the output resolution.