This function reads file only once, so calling it many times doesn't result in any slowdown
Number of executable lines
See Implementation
This function reads file only once, so calling it many times doesn't result in any slowdown