Add file mod, use sides, and  Fix npe when remote has no mods
It's been a while since I coded this, so I don't remember how it works.