fix bug for undefined variable in removeFile()
Merge pull request #154 from exi/removeFile-bugfix

fix bug for undefined variable in removeFile()