  1.  NAME

  next_psf - Create a new postscript file name

  2.  SYNOPSIS

  s = next_psf(psf )

  3.  DESCRIPTION

  Generates a new file name by appending a number to it. To get the
  current number, it reads the directory where the new file is expected
  to be created. Although this function is used for generating
  successive postscript files, it will work with any kind of file names.

  4.  PARAMETERS

     psf
        Generic name of the file. The next name wil have a number of
        three digits appended to it.

  5.  RETURNS

  The next file name.

  6.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

