Added charting and file handling.