naive bayes in seperate file