code: public List<DependencyInfo> parseFile(String filePath, String fileContents) {
      return parseFileReader(filePath, new StringReader(fileContents));
    }
docs: Parses the given file and returns a list of dependency information that it
  contained.
  It uses the passed in fileContents instead of reading the file.
  
  @param filePath Path to the file to parse.
  @param fileContents The contents to parse.
  @return A list of DependencyInfo objects.