Modified getbibrefs() to remove comments from tex file