remove temp file dependency
remove unneeded local var
Merge pull request #26 from ptoomey3/no-tempfile

remove temp file dependency
Merge master