fix all the bugs. open/new/save buttons works properly with all file types.