*** Settings ***
Library           OperatingSystem
Library           String
Library           Collections
Library           ../CodeLibWrapper.py

*** Keywords ***
KW_DataSource_ReadFlatFile
    [Arguments]    ${FlatFilePath}
    ${TextFileContent}=    Get File    ${FlatFilePath}
    Comment    Log    ${TextFileContent}
    @{Lines}=    Split To Lines    ${TextFileContent}
    [Return]    @{Lines}

KW_DataSource_ReadFlatFileRemoveHeader
    [Arguments]    ${FlagFilePath}
    ${TextFileContent}=    Get File    ${FlagFilePath}
    Comment    Log    ${TextFileContent}
    @{Lines}=    Split To Lines    ${TextFileContent}
    ${Lines}=    Remove From List    ${Lines}    0
    [Return]    @{Lines}
