doc: tweak compile heading
Wrap reading in try/catch
Add spec for non-existent input file