file add to database