function imageMask = imageMaskNames(subjectDir)

filter = '^.*\.hdr$';
[files, dirs] = spm_select('List', fullfile(subjectDir,'a'), filter);

for i = 1:length(files)
%     rfiles = regexpi(files(i,:),'^.*.-','match')
    files(i,:);
    token{i} = strtok(files(i,:),'-');
end

imageMask = unique(token);

end