Filename output bug fixed.