private static String getFileName(String url) {
        String name = "";
        for (int i = (url.length() - 1); i >= 0; i--) {
            char symbol = url.charAt(i);
            if (symbol == '/')
                break;
            name += symbol;
        }
        return new StringBuffer(name).reverse().toString();
    }