port string files from Java