Add lot of work, the encoding kinda works now but need solution for file ending