added pickle import to file