added init_pagefile after deleting it