added swap and public files in gitignore