code: public static Properties load (File from)
          throws IOException
      {
          Properties props = new Properties();
          BufferedInputStream bin = new BufferedInputStream(new FileInputStream(from));
          try {
              props.load(bin);
              return props;
          } finally {
              StreamUtil.close(bin);
          }
      }
docs: Reads and parses the supplied file into a {@link Properties} instance.