modify file structures