removed the 'b'inary flag in the OPEN method inside PICKLE method