cleanup of directory