add -i for input file option
Merge pull request #3 from livibetter/master

add input file option