Create text files from SQL Server data