Separate charting to separate file