implement save/open files to localStorage