public URL getURL() throws FileSystemException {
try {
file = createSmbFile(getName());
SmbFile parent = new SmbFile(file.getParent());
SmbFile[] tmp = parent.listFiles(new SmbFileFilter() {
public boolean accept(SmbFile f) {
return f.getName().equals(file.getName());
}
});