Per file rebuilding