Bytecode file should be the command line argument of NAS rather than the standard input of NAS