Added file selection capability, but it's a kludge.