OpenFile fully functional