added basename to AMETHST command_file input