New function of file wead/write