Function to read digest header
     
    
    Usage
    get_digest_header(file, key, if_error = NULL, .list = NULL)
 
     
    
    Arguments
- file
 
file path to a `JSON` file
 
- key
 
character, key to extract
 
- if_error
 
value to return if key not found or read error occurs
 
- .list
 
alternative list to supply if file is missing