$? == 0 check now works
getFileDate less likely to fail with odd filenames