move code on the rigth file