I am using code like this: which results in losing the case of the filename (e.g. MyFile.txt becomes myfile.txt). This seems obvious as getPathLower is returning the lower-case filename. Metadata has another method getDisplayName() returning the cased path: I did not want to use this as it says it’s for display purposes only. So, how can I avoid losing the