* @throws IOException
* An IOException is thrown when an assertion cannot be found
*/
public String getRetVal(String resource) throws RetValFileNotFoundException, IOException{
File resourceFile = new File(resource);
if(!resourceFile.exists()) throw new RetValFileNotFoundException(resource, report, "Return value for " + resource + " was not found");
File answer = new File(resourceFile.getParent(), "." + resourceFile.getName() + FormatConstants.RETFORMAT);
if(!answer.exists())
answer = new File(resourceFile.getParent(), ".directory" + FormatConstants.RETFORMAT);
read = new BufferedReader(new FileReader(answer));
return read.readLine();