changed the parameter of process Lines to accept a filename, to print it in #warning and #error