as my previous PR

fix the other setFile(null)