Yep, it helped to solve the problem, thanks. Apparently, BOM is just an extra byte sequence at the beginning of the file. I use Notepad++, so UTF-8 with BOM comes as a default. I found out that according to the Unicode standard, the BOM for UTF-8 files is not even commended which begs a question, why such a popular editor such as Notepad++ would leave it like that? I know it's not a big deal or anything but just got me curious.