File tree reorganisation