add "file" command mode.