Reimplementing the gitignore File

A bit roundabout, but we got it working, hopefully