Imeplement the doc rm command so that documents may be deleted.