Added getSize() to FileResource. DirectoryResource remains unsupported