updated camera and file classes