use unpack from file method that i forgot about