This is the line where the error pops up:

Code:
Dim fw As New IO.FileStream(Application.StartupPath + "\descarga.txt", IO.FileMode.Create, IO.FileAccess.Write)
It creats the file fine, but then it say that is in use, also the 1st IO process I'm useing I close the writer and the file text.