Add name and nameRegex parameters

Either one of these parameters is used for naming the chunk file. The `name` parameter is a simple string while `nameRegex` is a string containing a regular expression for extracting the name from the path of the file being required, especially useful for dynamic requires.