Use GimpFile to interact with a single file and GimpFileCollection to interact with a collection of files.
GimpFile
GimpFileCollection