FileFinder::FileFinder(const std::string a_File, const std::string a_Folder)
	{
		m_Filename = a_File.c_str();
		m_Folder = a_Folder;
		std::atexit([]()
		{
			m_Files.clear();
		});
		LoopFind();
	}
 IteratorType FindAndErase ( cf_const ElementType & x,bool & found )
 {
     LockGuard<Raw_RWMutex> lock(_writeLock);
     IteratorType position =LoopFind (x);
     if(position!=_container.end())
     {
         found =true;
         return _container.erase(position);
     }
     else
     {
         found =false;
         return _container.end();
     }
 }