Pass relative paths to callbacks instead of absolute paths.