update controller to integrate file parser