changed to produce output filename with same filename as input + _processed