rm useless file check