extract episode table to seperate file