class Importers {

    public static Network loadNetwork(Path file, ComputationManager computationManager, ImportConfig config, Properties parameters, ImportersLoader loader) {
        ReadOnlyDataSource dataSource = createDataSource(file);
        Importer importer = findImporter(dataSource, loader, computationManager, config);
        if (importer != null) {
            return importer.importData(dataSource, parameters);
        }
        throw new PowsyblException("Unsupported file format or invalid file.");
    }

    private  Importers();

}