bugfix, if ressource (file) was deleted

We got an fatal error, that the directory "" is not existing. Now it will be checked, if the file exists, before handle with it.