improved file parsing logic
Merge branch 'master' of https://github.com/biometrics/openbr