Remove whitespaces from output file