Just checking you're sure you want to call `Future.filter` on `!assetInfo.isDirectory`.