Expand description
Open a possibly compressed file for reading.
The file is specified by the given filename
. The file is
decompressed by an external compression tool determined by the
file extension:
- .gz uses
gzip
- .bzip2 uses
xz
- .xz and .lzma uses
xz
- everything else open the file directly without compression.