Question: 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?

Answer: 
Try giving an absolute path to the filename. 

Also, post the code so that we can see what exactly you're trying.
If you're using Eclipse (or a similar IDE), the problem arises from the fact that your program is run from a few directories above where the actual source is located. Try moving your file up a level or two in the project tree.

Check out [this question](https://stackoverflow.com/questions/437382/how-does-relative-file-path-works-in-eclipse) for more detail.