Im working on a really old site and the following line is causing an error

Code:
         
Dim newFile As FileStream = New FileStream(Server.MapPath(sSavePath + sFilename), System.IO.FileMode.Create, System.IO.FileShare.ReadWrite)
Any ideas how to correct this issue