code: public static Properties loadProperties(File file) throws IOException {
          FileInputStream finp = new FileInputStream(file);
          try {
              Properties p = new Properties();
              p.load(finp);
              return p;
          } finally {
              ArchiveUtils.closeQuietly(finp);
          }
      }
docs: Load Properties instance from a File
  
  @param file
  @return Properties
  @throws IOException