moved tab parser stuff back into single file