delete some file from gen and add ignorefile