add temporary file handling samples