Syntax filesystemobject.GetFile(/file name/) The GetFile() method is used to get a specified file object. Get the size for the file "test.txt"