added the RESTful web service functionality for UserFileController