renamed saving data to file method in Command\DumpCommand