Compositing Workflow/How to compose a render after restarting Blender?
I think what you are missing is the FileOutput Node.

here is a basic Setup for your 3 Layer.
check the docs for renderlayer in Blender and you are good to go.  

you can do a lot more then saving files with the compositing context, so have look and do some experimenting.