new file size support for dynamic buffer allocation