removed torch.isTensor from db (its in torch)
Merge branch 'savetofile'