got resaving local files to work (clearing out old value of file selector)