Removed reference to removed ResourceDiscoveringInterface and updated getPath() to getRealPath()