Optimization for getting file/line info