A Java Archive, or JAR file, contains all of the various components that make up a self-contained, executable Java application, deployable Java applet or, most commonly, a Java library to which any ...
I don't know if extensions matter or not, but try renaming your .txt file as .mf and then jar it.