File chooser stuff. Trying to make it dual purpose for saving and loading.