Moving message to variable
Modified to print contents of file