adding _public flag to files