use sys_get_temp_dir() here too
flat extraction