filter extract file based on dev/test set