remove unused old csv function