Deleting pointer to folder