# 5.15.1.1. eqcorrscan.utils.sfile_util.blanksfile

`eqcorrscan.utils.sfile_util.``blanksfile`(wavefile, evtype, userID, outdir, overwrite=False, evtime=False)

  Generate an empty s-file with a populated header for a given waveform.

  Parameters: | wavefile (str) Wavefile to associate with this S-file, the timing of the S-file will be taken from this file if evtime is not set. evtype (str) Event type letter code, e.g. L, R, D userID (str) 4-character SEISAN USER ID outdir (str) Location to write S-file overwrite (bool) Overwrite an existing S-file, default=False evtime (obspy.core.utcdatetime.UTCDateTime) If given this will set the timing of the S-file
  Returns: | str, S-file name

      >>> from eqcorrscan.utils.sfile_util import readwavename
      >>> import os
      >>> wavefile = os.path.join('eqcorrscan', 'tests', 'test_data', 'WAV',
      ...                         'TEST_', '2013-09-01-0410-35.DFDPC_024_00')
      >>> sfile = blanksfile(wavefile, 'L', 'TEST',
      ...                    '.', overwrite=True)
      Written s-file: ./01-0410-35L.S201309
      >>> readwavename(sfile)
      ['2013-09-01-0410-35.DFDPC_024_00']