def prepare_files(self):
<EOL>files = {}<EOL>for f in self.data['<STR_LIT>']:<EOL><INDENT>k = f['<STR_LIT>']<EOL>if k not in files:<EOL><INDENT>files[k] = []<EOL><DEDENT>files[k].append(f)<EOL><DEDENT>for k in files.keys():<EOL><INDENT>files[k].sort(key=lambda x: x['<STR_LIT:version>'])<EOL><DEDENT>self.files = files<EOL>
Get files from data dump.