code: public String getProperty(String key, String defaultValue) {
          String val = properties.get(key);
  
          if (val == null) {
              val = defaultValue;
          }
  
          return val;
      }
docs: Gets a property associated to this file.
  @param key property key
  @param defaultValue default value to use if the key does not exist or the value is null
  @return property value or the default value passed