generate files with random data up to a total number of bytes