Used malloc. Slightly smaller the tap file.