1. An IC card comprising: a storage unit configured to store a file, store definition information to control the file, store a program designated by the definition information, and store command execution information to execute command processing corresponding to a command; a receiving unit configured to receive the command; and an executing unit configured to interpret the command, execute the program on the basis of the definition information, and execute the command processing on the basis of the command execution information.