File file = new File(getPhoneFilename());
File file = new File(profileFileName);
    public void generateProfiles() {        Writer wtr = null;        try {            File file = new File(getPhoneFilename());            makeParentDirectory(file);            wtr = new FileWriter(file);            generateProfile(wtr);        } catch (IOException e) {            throw new RuntimeException(e);        } finally {            IOUtils.closeQuietly(wtr);        }    }