def get_param_cols(columns):
    """ Get the columns that were provided in the file and return that list so we don't try to query non-existent cols

        Args:
            columns: The columns in the header of the provided file

        Returns:
            A dict containing all the FPDS query columns that the provided file has
    """
    possible_cols = {'agency_id': 'AGENCY_CODE', 'referenced_idv_agency_iden': 'REF_IDV_AGENCY_ID',
                     'piid': 'PIID', 'award_modification_amendme': 'MODIFICATION_NUMBER',
                     'parent_award_id': 'REF_IDV_PIID', 'transaction_number': 'TRANSACTION_NUMBER'}
    existing_cols = {}

    for key in possible_cols:
        if key in columns:
            existing_cols[key] = possible_cols[key]

    return existing_cols