Documentation, Slight changes to parseFiles

Documentation vastly improved. Switched to """ as that is docstring
convention. Added *args and mode to parseFiles so that it can open files
in different modes and pass arguments to parseFunc. Changed a few names
and added comments to clarify code