Removing temporary documents from repository