Added key passing via files.