Predefined function for file output pfile