Changed comment for Resource.java
Moved filePath variable from class variable to local variable