example showing the filesystem resource implementation integrated with spring config