Separating Scanner Output into Individual Documents