write processed output to file
renaming and trying to print to stdout