code: def run(self):
      self.path = "lit://boring_file.txt"
      with open(self.path, "w") as f:
          f.write("path")
      self.counter += 1
  
file_path: pytorch-lightning/tests/integrations_app/apps/idle_timeout/app.py
imports: import pathlib
  from lightning.app import CloudCompute, LightningApp, LightningFlow, LightningWork
  from lightning.app.storage.path import _artifacts_path, _filesystem
  from lightning.app.utilities.enum import WorkStageStatus
label_desc: Use image node_id 2 for calling the SourceFileWriterWork obj's underlying member method code with example usage: obj.run() without return types