Changed check for old files.