xml file - use file open instead of file new with block