udpate dial function, add arg file record name