void () { //TODO: how to implement this method? // 1. truncate file // 2. set actualSize=0 // 3. scan pages and invalidate(how?) those > actualSize throw new UnsupportedOperationException("Method not implemented yet"); }