read swimlanes file
Add header and close php file correctly.