         return response
     }
     
-    private static func responseFromFileGenerator(requestPath: String, filePath: String, properties: SmartMockProperties) -> SmartMockResponse? {
+    private static func responseFromFileGenerator(requestPath: String, filePath: String, requestGetParameters: [String: String], properties: SmartMockProperties) -> SmartMockResponse? {
         // Check if the request path points to a file deeper in the tree of the file path
         var fixedRequestPath = requestPath
         if fixedRequestPath.hasPrefix("/") {

        }
        
        // Generate file list as JSON
        if properties.generatesJson {
            if let files = SmartMockFileUtility.recursiveList(fromPath: filePath) {
                let response = SmartMockResponse()
                if properties.includeMD5 {
                    var jsonString = "{"
                    var firstFile = true
                    for file in files {

        // Check for response generators, they are not supported (except for a file within the file list)
        if properties.generates != nil && (properties.generates == "indexPage" || properties.generates == "fileList") {
            if properties.generates == "fileList" {
                if let fileResponse = responseFromFileGenerator(requestPath: requestPath, filePath: filePath, requestGetParameters: requestGetParameters, properties: properties) {
                    return fileResponse
                }
            }
