Adding mocking of all file endpoints