James: fix output file names