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

@param singleFile file

@return cache