final File parent = file.getParentFile();
final File parent = file.getAbsoluteFile().getParentFile();
	public void delete(File file) throws IOException {		final File parent = file.getParentFile();		if (parent == null) {			throw new IOException("There is no parent of " + file);		}		final FSEntry parentEntry = getEntry(parent);		if (parentEntry == null) {			throw new IOException("Parent of " + file + " not found");		}		if (!parentEntry.isDirectory()) {			throw new IOException("Parent of " + file + " is not a directory");		}		parentEntry.getDirectory().remove(file.getName());		entryCache.removeEntries(file);	}