Refactor Camera and videoFile