writeToFile method
Writes a remote storage object to the local filesystem.
If a file already exists at the given location, it will be overwritten.
Implementation
TaskPlatform writeToFile(File file) {
throw UnimplementedError('writeToFile() is not implemented');
}