Usage: python avg_discharge_rate.py [input_file]