added resource, clean up file system