added file open and close buttons