Fix removing file when replaceFile method is used
Remove unused parameter
Merge pull request #17 from jdecool/fix-replacefile-remove

Fix removing file when replaceFile method is used