private void createFile(Path path, String content) throws IOException {
            Files.createDirectories(path.getParent());
            Files.write(path, Utf8.toBytes(content));
        }
Get the file name (path) of a resource or fail if it can not be found

@param resource Name of desired resource
@return Path of resource
application/src/main/java/com/yahoo/application/Application.java