Added missing file check.