hw-2: fixed argv param for file open