removing resource file