First iteration of file functionality added

Openfile method is incomplete.