function to scale ages from file added