This should probably make use of ```os.path.relpath```, which will be more robust than doing a slice based on the length of the target directory. The obvious edge case I'm thinking of is whether the target dir has a trailing slash, but there may be others.