Added 'save_to_file' parameter in get_percentile_dict()