Fixed "destroy" function signature
Bug fixes in Key-Value list
Now information about all opened files is stored in list