Added dependency injection for file system service