open IN, "+<$file" || die "Can not open $file"; while () { $readINtemp = $_; $messagein .= $readINtemp; } close IN;