refactor method params to use fileName instance var
Merge pull request #11 from PeerJ/RefactorMethodParamsToInstance

refactor method params to use fileName instance var