add the function of read all the file content