Having `resizePath` and `resizedPath` here are hard to read. Can we use `sourcePath` and `targetPath` instead?