cleaning up directory.