Hooked up functionality for file menu options.