File opening error string bugfix