Base generator
Ignores swap files