File handling helpers + improvements

* Add subscript operator to repositories
* Add category (to be included in .m file) for subclasses that also store files alongside the repository index (e.g. image cache)