Commit parser

Do we need deterministic file closing here? If not, I think it is better to do:
```python
version_file = os.path.join(DOCKER_ROOT, name, 'VERSION')
version = open(version_file, 'r').read().strip()
```