My open G makes like a rattle sound when picked semi-hard, it doesn't touch the fret and it seems the sound comes from the nut, but i can't seem to fix it.

It remains after changing strings

Should i file the nut or something?

BTW I've got an Ibanez RG321