code: def remove_part_images(filename):
      
      dirname = '{0}_files'.format(os.path.splitext(filename)[0])
      if os.path.exists(dirname):
          shutil.rmtree(dirname)
docs: Remove PART(#)_files directory containing images from disk.