Working stub REST service with file handler