def read_cards_file(file):
    """
    :param file: Path to file
    :return: File contents as string
    """
    contents = open(file).read()  # type: str
    # contents.split(sep='\n')
    return contents.strip()