- minor improvement to parser for lines before first time
- improved reading from key files