title: How to pass a text file as a argument?
body: <p>Im trying to write a program to read a text file through args but when i run it, it always says the file can't be found even though i placed it inside the same folder as the main.java that im running. 
  Does anyone know the solution to my problem or a better way of reading a text file?</p>