output file is now written to target folder