Wrote part of rmdir.