delete old file and checkstyle