fix bug with multiline filename
fix bug with multiline filename