moving attributes to attribute file