code to process files from Jordan