Update error messages for file delete
Fix file absolute path