removing mem folder