Single file heading

Fixes #361.