The code isn't wrong, the data must be preprocessed: texto.txt needs dots to make up numbers to Mathematica: 0.7 instead of 0,7:

Then it works - take into account that
In[44]:= Clear[data]
data = Import[FileNameJoin[{NotebookDirectory[], "test", "texto.txt"}], "Table"];
In[46]:= Dimensions[data]
Out[46]= {21, 29}
the dimension of data are 21 lists of the length 29: be sure that you want that. Notebook attached.
Attachments: