code: public static PoliciesCache fromFile(File singleFile, Set<Attribute> forcedContext) {
          return fromSourceProvider(YamlProvider.getFileProvider(singleFile), forcedContext);
      }
docs: Create a cache from a single file source
  
  @param singleFile file
  
  @return cache