public static <T extends Serializable> Flowable<T> read(final File file) {
        return read(file, DEFAULT_BUFFER_SIZE);
    }
public static < T extends Serializable > Flowable < T > read ( final File file ) { return read ( file , DEFAULT_BUFFER_SIZE ) ; }
Returns the deserialized objects from the given {@link File} as a
{@link Flowable} stream. A buffer size of 8192 bytes is used by default.

@param file
the input file containing serialized java objects
@param <T>
the generic type of the deserialized objects returned in the
stream
@return the stream of deserialized objects from the {@link InputStream}
as an {@link Flowable}.