learning opening files