committing output file