The development of grain structure during growth of metallic films