script to extract features from pickle dumps