Created the File class and added MenuBar in the Window class