concats contents of raw to output text file