Decompress a file.
path (str or Path) – Compressed file (.gz, .bz2, .xz, or .zip).
.gz
.bz2
.xz
.zip
remove (bool) – Delete the compressed file after extraction (default True).
True
Path to the decompressed file.
str