Changed to use argparse instead of optparse and stdin as the source of the file contents
Merge pull request #1 from andrewgiessel/argparse

Changed to use argparse instead of optparse and stdin as the source of t...