Move files discovery to Context.