barchart input from file