Rmdir written, but not fully tested.