Add rm-swp-files function