'Return dict mapping path to contents for attached files with specified
paths.'

def attached_files(self, working_directory):

    return dict(((path, contents) for (path, contents) in self._attached_files.get(working_directory, []) if (path is not None)))
