Add external file-loading api