All of the files on that location are accessible via hyperlink through the Thingworx REST API. You can find the URL by running the GetFileListingWithLinks service on the FileRepository thing. The URL format to access them is:
In your case, it might be something like: http://localhost/Thingworx/FileRepositories/Repository/file.html
Hope this helps!