Perhaps it should be documented that File.remove() does not delete the corresponding .xmp file. I think it can be argued that removing the xmp is more correct than leaving the sidecar there.<br /><br />This leads to problems when subsequently renaming some other file (with .xmp) to the name of the deleted file. The rename gets an error, claiming the file exists but not mentioning that it is the invisible .xmp that actually exists.<br /><br />Then, oddly, ESCing from the error dialog actually does rename the file, but renames the corresponding .xmp as <name>(1).xmp -- attaching the wrong sidecar to the renamed image.