API for text or file based data.