def get_file_content(filepath, return_type='list'):
    """Bring content of file at `filepath` to memory.

    Args:
        filepath: file to read content of
        return_type: data structure to represent content in
    """
    with open(filepath, 'r') as f:
        if return_type == 'list':
            content = [line.rstrip('\n') for line in f.readlines()]
        else:
            content = f.read()
    return content