code: public static Dependencies load(final File file) {
          Utils4J.checkNotNull("file", file);
          Utils4J.checkValidFile(file);
          try {
              final InputStream inputStream = new BufferedInputStream(new FileInputStream(file));
              try {
                  return load(inputStream);
              } finally {
                  inputStream.close();
              }
          } catch (final IOException ex) {
              throw new RuntimeException(ex);
          }
      }
docs: Load dependencies from a file.
  
  @param file
  XML File to load - Cannot be <code>null</code> and must be a valid file.
  
  @return New dependencies instance.