Added pop method to sortedset
Added file pool
Added close function to filepool