     @possibleWords = possibleWords
 
   buildWordListFromFiles: (bibtexFiles) =>
-    @readBibtexFiles(bibtexFiles)
+    @readReferenceFiles(bibtexFiles)
     @buildWordList()
 
   readReferenceFiles: (referenceFiles) =>

        else
          console.warn("'#{file}' does not appear to be a file, so autocomplete-bibtex will not try to parse it.")

      @bibtex = bibtex
    catch error
      console.error error


        ftype = file.split('.')
        ftype = ftype[ftype.length - 1]

        if fs.statSync(file).isFile()
          parser = new bibtexParse(fs.readFileSync(file, 'utf-8'))

