random ref file