Min comments error now does not count blank lines at the file's end
Attempt to fix IndexError
Using globe module to open files