public String createName(final Object... params) {
        if (fixedName != null) {
            return fixedName;
        }

        //create new unique filename
        return (prefix == null ? "" : String.format(prefix, params) + "-") +
                CalendarUtils.formatDateTime("yyyy-MM-dd-HH-mm-ss") + "-" +
                (fileNameCounter.addAndGet(1))
                + (suffix == null ? "" : "." + suffix);

    }
Creates instance of FileNameCreator which returns a constant name always (non-unique!)
main/src/main/java/cgeo/geocaching/utils/FileNameCreator.java