sql unnecessary file removed