Parser? byExt(String ext) { for (final p in parsers.values) { if (p.ext.contains(ext)) { return p; } } return null; }