change name of .dat to f[ID].dat, fix bug.