Updated pytg to support multimedia and text files