bump rake to ~> 10.3; remove Gemfile.lock
standardize input options (file or stdin)

read from stdin if file argument is not provided