Makes table of content as separate file