For longer files with sub-sections, it would be nice to have a way to quickly get to individual sections. Surprise, someone who can code thought this too. Take a look at “Automatic Table Of Contents” in the Community Plug-ins.
This is an example:
Generated by: