library update
Move file creation to note storage and file name creation to factory