Autodetect MDS/syntax files