Full filebase rewrite