Update help message with version and license
Fix file mode