Added more logging to prepend file section