[Globals] Bug fix -excluding files from namespaces

Excluding files from being a namespace. Filenames of functions within a
namespace can’t start with ‘.’