Calculate the relative path from a file's destination path to another directory or file. Useful in template helpers, middleware and plugins.