write location to ~/.location
Read ~/.location to determine current location