add ability to load svm from file