The command_storage_<namespace>.dat files are GZip'd NBT files located in the data folder in a savegame. They store information about the /datacommand storage in the world. Each namespace in the storage has its own data file.
Folder Structure[]
(world save directory)
data
command_storage_<namespace>.dat
Multiple command_storage_<namespace>.dat files may be present in the data directory.
NBT structure[]
The root tag.
data: The actual saved data.
contents: Contains all the data storage under the namespace of the command storage.
<name>: The data associated with a particular resource location<namespace>:<path>.
Custom content as set by the /data or /execute store commands.
DataVersion: The data version in which this file is saved.
Multiple compound tags of different names may exist under contents tag.