From a quick Google search, it appears that it is the FileSystemObject thathas the open method. I.e. something likeDim FileStream As ObjectSet FileStream = x.opentextfile("C:\Batch\" & file.Name)However, there might be other ways too.