use fscanf in dialogs loader