[cmd] open/close file commands