More Tests for ModuleFiles and new methods with file flags as an argument