A storage device that is capable of communicating with a musical instrument (1, 1A, 1B) having a performance information generation unit for generating performance information, a first clock unit for measuring date and time, and a transmission unit for sending a plurality of performance data, which is a set of the performance information generated by the performance information generation unit and performance date and time information that indicates performance date and time that is measured by the first clock unit when the performance information is generated by the performance information generation unit, wherein the musical instrument (1, 1A, 1B) sequentially transmits the performance data that includes a note-ON MIDI message and performance data that includes a note-OFF MIDI message to the storage device, the storage device comprising: a receiving unit that is adapted to receive the performance data sent from the transmission unit of the musical instrument (1, 1A, 1B), the performance data containing a terminal identifier identifying the musical instrument (1A, 1B) that transmits the performance data; a second clock unit that is adapted to measure date and time; a storage unit that is adapted to store the performance data received by the receiving unit together with the terminal identifier identifying the musical instrument (1A, 1B) that transmits the performance data and the acquisition date and time of the performance data measured by the second clock unit when the performance data is received by the receiving unit; and a file generation unit that is adapted to: - divide a plurality of the performance data stored in the storage unit into blocks based on the terminal identifier such that each block contains the performance data sent by the same musical instrument (1A, 1B), and based on acquisition date and time of the performance data measured by the second clock unit when a difference between a current date and time measured by the second clock unit and a recent one of the acquisition time and date of the performance data is greater than a predetermined time length, - generate performance files corresponding to the blocks of the performance data; and - determine an end of a performance based on a date and time measured by the first clock unit and a date and time measured by the second clock unit for generating the performance file. a receiving unit that is adapted to receive the performance data sent from the transmission unit of the musical instrument (1, 1A, 1B), the performance data containing a terminal identifier identifying the musical instrument (1A, 1B) that transmits the performance data; a second clock unit that is adapted to measure date and time; a storage unit that is adapted to store the performance data received by the receiving unit together with the terminal identifier identifying the musical instrument (1A, 1B) that transmits the performance data and the acquisition date and time of the performance data measured by the second clock unit when the performance data is received by the receiving unit; and a file generation unit that is adapted to: - divide a plurality of the performance data stored in the storage unit into blocks based on the terminal identifier such that each block contains the performance data sent by the same musical instrument (1A, 1B), and based on acquisition date and time of the performance data measured by the second clock unit when a difference between a current date and time measured by the second clock unit and a recent one of the acquisition time and date of the performance data is greater than a predetermined time length, - generate performance files corresponding to the blocks of the performance data; and - determine an end of a performance based on a date and time measured by the first clock unit and a date and time measured by the second clock unit for generating the performance file. - divide a plurality of the performance data stored in the storage unit into blocks based on the terminal identifier such that each block contains the performance data sent by the same musical instrument (1A, 1B), and based on acquisition date and time of the performance data measured by the second clock unit when a difference between a current date and time measured by the second clock unit and a recent one of the acquisition time and date of the performance data is greater than a predetermined time length, - generate performance files corresponding to the blocks of the performance data; and - determine an end of a performance based on a date and time measured by the first clock unit and a date and time measured by the second clock unit for generating the performance file.