extraction of keys from Slim files