Added option to choose output file by environment variable MOCHA_FILE