Remove file writing function from ReferenceList