A self-propelling semiflexible filament exhibits a variety of dynamical states depending on the flexibility and activity of the filament. Here we investigate the dynamics of such an active filament using a bead-spring model with the explicit hydrodynamic interactions. The activity in the filament is incorporated by inserting chemically active dimers at regular intervals along the chain. The chemical reactions at the catalytic bead of the dimer produces a self-generated concentration gradient and gives sufficient fuel to exhibit self-propulsion for the filament. Depending upon the rigidity and the configuration, the polymeric filament exhibits three distinct types of spontaneous motion, namely, rotational, snaking, and translational motion. The self-propulsion velocity of the filament for various rigidity and sizes has been calculated, and the factors affecting the propulsion are identified.