*.swp gitignore, get_files method implemented