Does word "tab" have the same meaning in the following two sentences?

Files with a red tab will be stored separately.

The filing cards were organized by cards having indexed tabs.
the same meaning