nice way to create and rmdir