custom version of flysystem