data and file reading on prob11