Ofile class can open a file and use a given delimiter regular expression to split its contents. It can output the content of the split sections using configurable HTML to prefix and suffix the content.

New content can also be written to the file, after a lock is placed on it in order to prevent simultaneous operations.