Update for PSL.
Record all border when more than three border are provided.
Output recent file.