Added better file resource for rest service