add drag files to window and add them to mysql