@Override
    public AbstractFile getFile(String path) throws IOException {
        path = path.replace(File.separator, "/");
        if (url.endsWith("/")) {
            if (path.startsWith("/")) {
                return new HttpRemoteFile(url + path.substring(1));
            } else {
                return new HttpRemoteFile(url + path);
            }
        } else {
            if (path.startsWith("/")) {
                return new HttpRemoteFile(url + path);
            } else {
                return new HttpRemoteFile(url + "/" + path);
            }
        }
    }