I am trying to build a program to calculate similarity between documents. But first, I want to get document contents from two different directories , below is my code which is w