moving pickle file to init