I have this line of code in a bash script:

```bash
  for file in "$Path"/*;

  do
    unpack $file
  done
fi

```

`unpack` is the function that will run on the file.

Now I want it to run only on files - on folder.

How can this be done?