Replaced local storage with file system API