Handle a range of possible input sources
make_readable_file(file, mmap = TRUE, compression = NULL, filesystem = NULL)A character file name, raw vector, or an Arrow input stream
Logical: whether to memory-map the file (default TRUE)
If the file is compressed, created a CompressedInputStream
with this compression codec, either a Codec or the string name of one.
If NULL (default) and file is a string file name, the function will try
to infer compression from the file extension.
If not NULL, file will be opened via the
filesystem$OpenInputFile() filesystem method, rather than the io module's
MemoryMappedFile or ReadableFile constructors.
An InputStream or a subclass of one.