Bring torch back to device files