function fileList = getImageFileList(des,use_smoothed_image_hack)

global USE_DRIVE_CHECK_HACK;

fileList  = des.xY.VY;
nFiles = length(fileList);

if USE_DRIVE_CHECK_HACK
    if fileList(1).fname(1)~='D'
        for z=1:nFiles % Change Drive Letter - HACK!
            fileList(z).fname(1) = 'D';
        end;
    end
end
if ~use_smoothed_image_hack
    for z=1:nFiles % Change smoothed Filename - HACK!
        % D:....SUBJECTID\session\swfanders...
        % D:....SUBJECTID\session\wfanders...
        tmp = findstr(filesep,fileList(z).fname);
        fileList(z).fname = strcat(fileList(z).fname(1:tmp(end)),fileList(z).fname(tmp(end)+2:end));
    end;
end

end