writes filename to bibtex