I have a function that replaces the beginning of a path by another path in a bunch of strings read from a configuration file. I do this because I want to move the data direc