"lines>" ">lines" factored out from file-observer