Added support for auto-sizing backing file and some sanity checks
Added support for auto-sizing backing file and some sanity checks