Added documentation for -o and --template
Add try / catch for non standard lines