output file setup