added broken .csv functionality