Added support for automatic video file deletion