Bad files deletion