Buffer size is adjusted according to file size