rename the file as in doc and a size of array reduction