public static void writeFileToSD(String fileName, String content) {
        try {
            String pathName = Config.FILE_PATH;
            File path = new File(pathName);
            File file = new File(pathName + fileName);
            if (!path.exists()) {
                path.mkdir();
            }
            if (!file.exists()) {
                file.createNewFile();
            }
            FileOutputStream stream = new FileOutputStream(file);
            String s = content;
            byte[] buf = s.getBytes();
            stream.write(buf);
            stream.close();

        } catch (Exception e) {
            System.out.println("error + " + e.toString());
        }
    }