Re-shuffling sql files