add creating files, checkstyle fixed