opening files from file browser kind of works now