changes the beginning file