Fixed loading using IDs instead of file names.