move tensor to another file