Modified FileType for java