add AbstractFileMessage constructor for DB route