Is not it slow to load key on many places in code again and again? There could be some caching loader which would keep the content in memory for running process. The key for caching map would be real path to file with the key.