decompress using tmp files