bug fix - not existing files can't be deleted