Changing values based on the file