XML commands per file extenstion working. Needs more testing.