reformat a, p-file reader links