Is this file static? or does it change?
If it doesn't change, you could put it on your classpath instead and load it from there.
You could also get your current directory with a file object, here is a quick guess:
Code:
File file = new File(".");
String currentDirectoryPath = file.getCanonicalPath();
Then you could use relative paths from there. If the location of the file changes from one execution to the next, I would suggest a file chooser or a properties file that points to the location in a property.
Hope that gives you some options.