run getFiles after saving