PROBLEM TO BE SOLVED: To allow each of a plurality of applications installed in a storage medium device to flexibly control an input/output device.SOLUTION: A storage medium device comprises: an input/output device for inputting or outputting data; a storage medium; a communication unit for receiving a file creation command transmitted by an external communication device; and a file creation unit that, if the received file creation command gives instruction on creation of an input/output device control file, creates an input/output device control file that has a file identifier determined corresponding to the input/output device and an input/output buffer region, where data output or input from/to the input/output device is written, which is specified as a file data storage region storing data of a file, at a file storage position corresponding to a prescribed application in a file structure of the storage medium.
展开▼