Add file size to driver API