by file i mean workbooks

and by tab i mean worksheets.

sorry if there was any confusion.