resource files and Main.java