Those
's are newline characters and you can remove them like this:
delete return in filecontents
However, if your intent is to iterate over the file line by line, then you can do something like the following and the newline characters will be ignored as a standard line ending character:
repeat with each line of file "/path/to/myfile"
// do something with the line of data
end repeat