Exploring star formation using the filaments in the Sloan Digital Sky Survey Data Release Five