Use File.read instead of Unix command because of edge case \r