discard unnecessary file