Java Get File String In Python Syntax For Loop