Shouldn't this be getFileInsideWorkingDirectory("testData").getAbsolutePath()?