* Added attr_reader  for @name
* Added attr_reader  for @name
Swap files using a temp file