the first version of feature extraction file