Initialize file in FileCapture() to support older GCC versions.