def calculate(directory):
<EOL>if sys.platform == '<STR_LIT>':<EOL><INDENT>slash = '<STR_LIT:\\>'<EOL><DEDENT>elif sys.platform == '<STR_LIT>':<EOL><INDENT>slash = '<STR_LIT:/>'<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>')<EOL>return<EOL><DEDENT>print('<STR_LIT>')<EOL>for i in range(len(directory[<NUM_LIT:2>])):  <EOL><INDENT>full_path = directory[<NUM_LIT:0>]+slash+directory[<NUM_LIT:2>][i]<EOL>print(full_path)  <EOL>size(full_path)<EOL>print(md5(full_path))<EOL><DEDENT>
Split the tuple (obtained from scan) to separate files.
       Alternately send full paths to the files in md5 and call it.
       :param directory: tuple of files in the directory.