Fixed bug in line-by-line profiler when the file is not in the current directory.