implemented first pass at string parsing for file selection widget