get rid of unnecessary file and log