This is a slower predicate because it reads all the file into string codes. For bigger files use nth_bibtex_file/3.