Added a method to create a path which adds the word encoded to the original path name once processing has completed