Added some bibtex input parsing