Fixed file open issue on ios (now file.readalltext) for coops