testing for file with headings and ordered list