Write new file to Training all database