read returns an error in ihpne if file does not exists.