added basic local storage file manipulation