Add readFile API from pastebin