Main.java support file mode