delete resource file