Shouldn't this be a comparison <= of the file version?