Add memoir base file