First try of Feature expansion, write to csv