This is why I am programming now in Ocaml, files themselves are AI ( ml ).
I am sure you did not forget that pattern matching.