Fixed output formatting for files that use INSERT and DELETE queries