Creating nested dicts of file names and ids:linenumbers