From Variable Lebesgue Spaces to Ball Banach Function Spaces