Previously it just used the short name which breaks when in a folder. We need to pass the full path somehow and this seems to do the trick.