So, the tuple unpacking and packing works, but now I get an error in 'open'