naive splitting of sql files into queries