change filetypes from .txt to .java