remove whitespace from each line and return the company ID in an array