add loop store file in tab