remove code to another file