Read file and print size of buffer