I think this has to be merged with IMB_loadifffile somehow, so that there is a single loop over the file types. It should try loading the files in the order in the array, and the same order as it does the type->is_a test.