Relocated file loading to Main.java