Rename defstd from csv to txt and add check on defstd format validity