Read txt file and to create a sales order from the text that in the text file and validate it own fields for header

Read txt file and to create a sales order from the text that in the text file and validate it own fields for header