change raw files structure