public File findFile(String url) {
        File file;
        if (urlHasNoFile(url)) {
            url = url + defaultFileName;
        }

        if (url.charAt(0) == '/') {
            url = url.substring(1);
        }

        file = new File(url);

        return file;
    }