def parse_config_file(config_file):
expanded_config_file_path = os.path.expanduser(config_file)<EOL>if not os.path.lexists(expanded_config_file_path):<EOL><INDENT>return None<EOL><DEDENT>configs = {}<EOL>with open(expanded_config_file_path, '<STR_LIT:r>') as f:<EOL><INDENT>configs = yaml.load(f)<EOL><DEDENT>return configs<EOL>
This will parse the config file for the tracker
:return: the config or None if the file is not found