File extension extractor
File extension extractor for Path: Path("example.json") match { case Root / "example" ~ "json" => ...
File extension matcher for String:
"example.json" match { case => "example" ~ "json" => ...