code: public static String loadAndGet (File propFile, String key)
      {
          try {
              return load(propFile).getProperty(key);
          } catch (IOException ioe) {
              return null;
          }
      }
docs: Loads up the supplied properties file and returns the specified key. Clearly this is an
  expensive operation and you should load a properties file separately if you plan to retrieve
  multiple keys from it. This method, however, is convenient for, say, extracting a value from
  a properties file that contains only one key, like a build timestamp properties file, for
  example.
  
  @return the value of the key in question or null if no such key exists or an error occurred
  loading the properties file.