added mac line terminator (\r)