Information on previous file in file-set
The previousfile
function returns an error if no files have been
read from the FileSet
object. To avoid this error, use
previousfile
along with hasPreviousFile
and
reset
. The hasPreviousFile
method checks if a file
still remains in the Fileset
object, while the reset
method resets the internal pointer to the beginning of the Fileset
object.