new feature: chart from file