FIX Allow files with capitalised extensions.