Got relative path to $ working, this seems to be reliant on FileUtil.toSystemDependentName, e.g. anything that looks like c:/path/to/file