Unpack files only if needed