added functions for extracting terms for given files/file