generateFileName format update for record crash