Paths file processing

this is going to get you caught up in recusion -- it's probably work fine, but for a really long running process, it would hit a recursion limit. And it's not ver re-locatable to inside antoher prompt loop. Better to use a while loop for processing the prompt results. In fact, you should be able to use the same while loop you have above.