Don’t treat inputTree as a string. It’s not. Instead pass the srcDir into the processString function and infer the original path from it.
Use path.join instead of plain string concatenation to construct file paths.
Merge pull request #3 from songsterr/fix-pathnames-handling

Fix pathnames handling