udapting error file