change struct of files