Fixed another bug for updated files that was exactly like the bug for New files.