S = [1.0000    0.3201    0.2223; 
     0.1568    1.0000    0.3792;
     0.1095    0.7977    1.0000];

path = "/Volumes/home/test/calib/standard_somespill/";
temp_files = {dir(strjoin([path "*.tif"], ""))};
files = {temp_files{1}.name};

for i = 1:size(files, 2)
    janitor(strjoin([path, files{i}], ""), S);
end