Commit parser

Again, if deterministic file closing is not necessary:
```python
repository = open(repository_path, 'r').read().strip()
```