Factorize file reading code
Factorize common command-line options
Refactoring
Add Belenios_version