excess header is removed from flex file