1. A digital camera which is capable of capturing a moving image and recording a captured moving image in a file, the digital camera comprising: a recording mode setting device which sets one of a single recording mode and a continuous recording mode; and a recording device which records, when the single recording mode is set by the recording mode setting device, the captured moving image in a newly created file, and records, when the continuous recording mode is set by the recording mode setting device, the captured moving image additionally in an existing file in which a moving image is recorded.