Add .mat existence checks