SVM to other class and file