This would detect uncompressed tarballs as a Dockerfile. You need to make any necessary adjustments to the length of the `magic` to make it work for uncompressed tarballs and do something like `if archive.DetectCompression(magic) == archive.Uncompressed && !archive.IsTarball(magic) {` while taking the sizing of the required `magic` into account for each function.