reading file

reading with just one "open" function