cleaning sql files