added SM r/w
ignore swp files