Working pipeline - title is now dynamic based on the first line of the contents.