added check for pre-existing video files