Move mdl properties function to MDLFile