code to convert .cp to readable java text