resetting file structure.