add OPEN and SAVE functionality