Script to parse through all SQL files in a directory