Added option store incoming dataset in file. Default implementation uses temporary file.