Quick question on Azure Function App Function's file block feature

Hi, I got a quick question about azurem_function_app_function’s file block property.
I have a project with 3 azure functions, all in Python.They all have several files, modules…etc.My question is the following: do I need to explicitly mention every file in the file block? Or does just mentioning the entrypoint file suffice? ie, is the following enough, or is that feature for simple functions?

resource "azurerm_function_app_function" "function" {
      name            = "function_name"
      function_app_id = azurerm_linux_function_app.function_app.id
      language        = "Python"
      file {
        name    = "app.py"
        content = file("../function_name/app.py")
      }
      config_json = jsonencode({
        "bindings" = [{
          "name" : "mytimer",
          "type" : "timerTrigger",
          "direction" : "in",
          "schedule" : "0 */5 * * * *"
        }]
      })
    }

TIA!