add support for notes at end of file