def get_version(h5file):
if '<STR_LIT>' in h5file and '<STR_LIT>' in h5file:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if '<STR_LIT>' in h5file:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return None<EOL>
Determine whether an HDF5 file is v1 or v2

    Return: 'H5V1', 'H5V2' or None