getDirectory returns { [filePath: string]: ArrayBuffer; }