parameters: (filespec)
docstring: Deletes files matching `filespec`.
docstring_summary: Deletes files matching `filespec`.
docstring_tokens: Deletes files matching filespec .
function: def _delete_file_if_exists(filespec):
    """Deletes files matching `filespec`."""
    for pathname in file_io.get_matching_files(filespec):
      file_io.delete_file(pathname)
function_tokens: def _delete_file_if_exists ( filespec ) : for pathname in file_io . get_matching_files ( filespec ) : file_io . delete_file ( pathname )