Manually init dao to make sure embeddedfiles are set first