Add UTF-8 encoding file headers
Create register class and sample files
Add file path checking function in utils.py