remove file from tracking and change target