Just writes to dictated output file