FileResource.getParent() now returns DirectoryResource in the interface