add filesystem access to models and collections