access the controller instead of the filesystem
encapsulate store inside controller