def instructions_from_file(file_path):
    """Return list of key instructions from file.

    Args:
        file_path (str): Text file containing file instructions.

    Returns:
        (list): A list of instructions to get the bathroom key.
    """
    list_of_instructions = []

    with open(file_path, 'r') as instruction_file:
        for line in instruction_file:
            line = line.rstrip('\r\n')
            list_of_instructions += [line]

    return list_of_instructions