change files from single to multiple var declaration in lib