File reader class created