change file nested relations