Check HTTP Status codes on FileService

Check HTTP Status codes on FileService