Extract the keys from a BibTeX file