public void rename(FileName oldPath, FileName newPath) throws Exception {
FileName adjusted = root.absolutize(oldPath.toString());
File thefile = new File(fsroot, adjusted.toString());
if(!thefile.exists())
throw new VFSException("File does not exist: " + oldPath);
FileName adjNu = root.absolutize(newPath.toString());
File newFile = new File(fsroot, adjNu.toString());
thefile.renameTo(newFile);