TODO: support for tarballs and .gz files has been added in b4ec0ec.