Added function to create new files into local storage