add function general recard file name

Function genRecordFileName is used for general recard file name.