Modified DashboardController to directly fetch the submitted file;