Handler named in dot notation

Our team uses dot-notated file names to indicate module hierarchy. The first segment of the filename contains the directory in which each module within the directory resides.

“{modulename}/{modulename}.{filename}.js”, where “modulename” is the name of the module and “filename” is the name of the file in the module. So, registering the file above to a handler seems it should permit:

handler: modulename/modulename.filename.functionname

But it does not.

If possible, how does one register a function residing within a “multi-dot” notated file?