exporting aligment table to file