Removed selected flag. Callback to saveFile added.