fixing proper file suffix.