in reply to Trying to split a file into array conditionally
I'm going to guess that 'INTERFACENAME' isn't actually static text... So maybe bart's solution, if it holds across all your data.