new_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  import os
  
  file_path = '/path/to/somefile.ext'
  
  basename = os.path.basename(file_path)
  
  print("File path:", file_path)
  print("Basename:", basename)
  
subject: Add a snippet.