protected FileObject getFile()
{
try
{
FileSystemManager fsManager = VFS.getManager();
FileSystem fs = ((FileSystemBased) configuration).getFileSystem();
String uri = fs.getPath(null, configuration.getURL(), configuration.getBasePath(),
configuration.getFileName());
if (uri == null)
{
throw new ConfigurationRuntimeException("Unable to determine file to monitor");
}