Check if the file is accessible and convert \r to \n.