prefix FileStream/InputStream with ANTLR like Java runtime