Added docstrings to methods.  Modified the way files are retrieved (no longer change dirs and use glob).