def parse_metadata(doc_file_path):
    """
    Parses metadata into dictionary

    inputs:
        doc_file_path (string): full filepath to document

    output:
        (dict): dictionary with parsed metadata
    """
    with open(doc_file_path, 'r') as file_name:
        meta_data_raw = file_name.read()

    meta_data_list = [x for x in meta_data_raw.splitlines() if x != '']
    meta_data_dict = {}

    for i in meta_data_list:
        split_string = i.split(':', 1)
        meta_data_dict[split_string[0].strip()] = split_string[1].strip()

    return meta_data_dict