googleapis: add loadFromFile function