Handle Slices data in a file as a resource factory object 

Fixes #33