line-oriented OCaml library for very basic operations on files made of lines of text Because text is better for humans compared to JSON/XML/you-name-it. More seriously, many UNIX files and scientific file formats are line-oriented.