add file open functionality