change variable types
write file only strings