Support multiple slicing criteria given by file

The slice output file is opened in the append mode so that all the
slices of the multiple criteria is written to the output slice file.
Perhaps we should refine the output format in the future.