Ignore swap files and DB files.