code: private Date fileCreatedDate(String fileName) {
          String[] splittedWithoutExtention = fileName.split(".");
          String fileNameWithoutExtention = splittedWithoutExtention[0];
          String[] splittedWithoutPrefix = fileNameWithoutExtention.split("-");
          String fileNameDateInStr = splittedWithoutPrefix[1];
          try {
              return AuditUtil.stringTodate(fileNameDateInStr, "yyyy-MM-dd");
          } catch (ParseException e) {
              throw new Audit4jRuntimeException("Exception occured parsing the date.", e);
          }
      }
docs: File created date.
  
  @param fileName the file name
  @return the date