cannot open output file No such file or directory