function tf = folderExists(f)
    tf = numel(dir(f)) > 1;
end