inputDir = 'V:\Data\ParagonTests\2015Jul23\sucessful_profiles';

allFiles = dir(inputDir);
realFilesIndex = not([allFiles.isdir]);     %dir includes "." and ". ." directories, so we remove those
fileList = {allFiles(realFilesIndex).name}

%science data
for index=1:length(fileList)
    disp(fileList{index})
    clearvars -except fileList index;
    close all;
    
     parseSciData(fileList{index});
%     
     save(fileList{index});
     savefig(fileList{index});

%parseEngData(fileList{index});
end