Finsler geodesics in the presence of a convex function and their applications