modify files structure