for a project, I need to encode and decode a generic file using bwt. The only problem is that I\'m experiencing problems encoding files different from a txt file. I really d