This works unless you rename it!

Separated unmount into a new func. Working on rename func now for write stuff.