Added menu to interface and created method saveFile()