Work on key files loading, key change is now based on generated bytes instead of get_bytes calls.