Used Java to write a small application which could calculate the 'angle' between files based on word frequency.