An easy way to hook up various file storage mechanisms, following the repository pattern with a factory.