command options are: file, dir, enable-running