xor ax, ax
mov tab[100], '$'
mov ah, 3ch
mov cx, 00000000b
lea dx, filename1
int 21h
jc openerr
mov handle, ax
mov ah, 40h
mov bx, handle
mov cx, 100
lea dx, tab
int 21h
jc openerr
mov ah, 3eh
mov bx, handle
int 21h
This is an outline of what you need to do:
The conversion is the hard part, but you can find many good examples everywhere including on this forum.