Two-dimensional, nonequilibrium molecular dynamics simulations have been applied to study the structure of thin films grown on single-crystal Lennard-Jones substrates. The principal microstructural features to develop within these films are single vacancies and small voids which tend to be slightly elongated and to be aligned in the growth direction. Both the void volume and the mean surface roughness of the films are found to be decreasing functions of substrate temperature and deposition kinetic energy. Voids are shown to form as a consequence of both surface roughness and shadowing effects. The attraction between deposited atoms and the sides of surface depressions lead to the formation of outgrowths from the sidewalls of the surface depression. These outgrowths shadow the open void beneath them and continue to grow across the voids by interaction with the depositing atoms until a continuous bridge is formed that closes off the void. Since this bridging mechanism leaves behind a surface depression above the closed-off void, new voids tend to form above it. This leads to the alignment of voids along the film growth direction. The spacing of the resultant void tracks is correlated with the wavelength of the surface roughness. Increasing temperature and deposition kinetic energy enhancing surface mobility leads to an increase in the wavelength of the surface roughness and hence an increase in the spacing between void tracks. Edge dislocations tend to form within voids as a natural consequence of the void bridging process, however nondislocated voids are also observed.