files for registration and checking registration