Make sure file not created if video output disabled
Initial analysis file for Trail vs No Trail