reinitialising files