Fix for old-file checking