code: public static File findAbsoluteAndRelative(final String fileLocation) {
          final File file = new File(fileLocation);
          if (file.isAbsolute()) {
              return file;
          } else {
              return new File(getHiveMQHomeFolder(), fileLocation);
          }
      }
docs: Tries to find a file in the given absolute path or
  relative to the HiveMQ home folder
  
  @param fileLocation the absolute or relative path
  @return a file