format command file