Extract Table to its own file