Serial Monitor working only in some files

We can continue in this other thread you posted: Serial monitor woes - other solutions are not working