# Functions
CollectFiles collects all files for the given module including filesets.
CollectModuleFiles looks for fields.yml files under the specified modules directory.
Generate collects fields.yml files and concatenates them into one global file.
GenerateFieldsYml generates a fields.yml based on the given files.
GetModules returns a the list of modules for the given modules directory.
NewYmlFile performs some checks and then creates and returns a YmlFile struct.