Created utility functions to convert a pwn file to a pcd file and viceversa.