CmdCommand changed File implementation

uses 2 parameters