use empty file if key not yet generated