Read datas from file and init with read data