Modify tab removal to skip files that don't use function