write correct file paths out