fixed typo in usage for python

Code requires a parameter of --type and not --file
Merge pull request #3 from augbog/patch-1

Fixed typo in usage for python
adding functions vs a straight file, which should make this easier to read longer term
adding changes to LICENSE
adding license to perl
Merge pull request #4 from garethpaul/master

Add functions to python script, add license