this should do what you are wanting:



String fileLocation; // the folder the file is located
String file; ...