did basic implementation of fs.open and fs.close