up file scan controller and function