avoid writing files if not needed hen extracting