Deleting file store directory if it is empty