Corrected the way filename is used to save and load .mat file