Interesting, however nowhere in the code do I explicitly call file.open().
However, before the call to "move", I need to parse the XML file to determine the correct destination; I do this by creating a DOM object to read the needed data.
Could this DOM object be holding on to the files somehow? I'm not aware of a need to "close" a DOM object, should I? Also, the move call is working, it copies the file to the destination directory AND removes it from the source directory. Unfortunately it also throws the IOException.
Some additional info...my code runs inside of a thread that wakes up every TBD seconds (currently set to 20), reads the contents of a source directory and moves all files to different destination directories. I don't see how this could be causing the IOException.