Fix partial filename loading.