Implemented 'open' syscall.