Only load non empty filenames
hacked to get it running