Use 'FilePutObject' instead of 'FilePut' when using argument of type 'Object'
The FilePut method includes an argument of typeObject. FilePutObject should be used in place of FilePut to avoid ambiguities.
To correct this error
Replace FilePut with FilePutObject.
Cast the Object argument to a more specific type.
Use the functionality available in the My.Computer.FileSystem object.