Results illustrating the nonlinear dynamics of ultrashort laser pulse filamentation in gases are presented, with particular emphasis on the filament properties useful for developing attosecond light sources. Two aspects of ultrashort pulse filaments are specifically discussed: (i) numerical simulation results on pulse self-compression by filamentation in a gas cell filled with noble gas. Measurements of high harmonics generated by the pulse extracted from the filament allows for the detection of intensity spikes and subcycle pulses generated within the filament. (ii) Simulation results on the spontaneous formation of conical wavepackets during filamentation in gases, which in turn can be used as efficient driving pulses for the generation of high harmonics and isolated attosecond pulses.