remove swp file from resources.