'Compute MD5 hash of file.'

def config_md5(self, source_config):

    file_contents = (source_config + u'\n')
    file_contents = file_contents.encode(u'UTF-8')
    return hashlib.md5(file_contents).hexdigest()
