Simplify process of read the file