csv func in system file