Change file  structure