add function for making attribute file
backup