deal with one file and faster