Creating new files with custom ContentsManager

I’m not sure if it’s strictly required, it might be possible to disable it but I couldn’t figure out how so ended up writing my own.