add database file and jpg