added method does folder exist
methods for setting folder deletion state and folder in cache check