Global Functions In Addon Are nil

I am trying to call the function ssaQuery from a file one directory above it but it seems to be nil, I have been looking at other addons and they can seem to place things where they wish and they will work in other files without including the file where the function is defined. I have loops that include all the plugins in sv_ssa.lua like all the other addons that use a structure.

Trying to call ssaQuery from:

The function is located in:

The files need to be included after the global functions are defined.

Thanks a lot, would have never realized that.