moves code to different files