Add OpenCV demo for opening and closing file