Make sure file exists is a file and can be read before trying to convertfound to text.