Convert FILE and LINE to struct types