create reference file