function sp = subpaths(d)
    if ~exist('d', 'var') || isempty(d)
        d = '';
    end

    % TODO: Nice error message if file doesn't exist
    fstr = fileread(fullfile(d, '.subpaths'));
    sp = splitlines(strtrim(fstr));
end
