Type: Posts; User: Mr.777
Good Luck. And read FAQ to know how to post codes on forums.
Read the File class in Java SE documentations.