On the structure of filaments from centimeter and millimeter observations