class FileItem extends DirectoryItem {
	private final String name;

	/**
	 * @param resource
	 * 		The resource associated with the item.
	 * @param local
	 * 		Local file name.
	 * @param name
	 * 		Full file name.
	 */
	public FileItem(JavaResource resource, String local, String name) {
		super(resource, local);
		this.name = name;
	}

	/**
	 * @return Contained file name.
	 */
	public String getFileName() {
		return name;
	}

	@Override
	public int compareTo(DirectoryItem o) {<FILL_FUNCTION_BODY>}
}

		if(o instanceof FileItem) {
			FileItem c = (FileItem) o;
			return name.compareTo(c.name);
		}
		return 1;
	
<methods>public void <init>(me.coley.recaf.workspace.JavaResource, java.lang.String) ,public void addChild(java.lang.String, me.coley.recaf.ui.controls.tree.DirectoryItem, boolean) ,public int compareTo(me.coley.recaf.ui.controls.tree.DirectoryItem) ,public void expandParents() ,public me.coley.recaf.ui.controls.tree.DirectoryItem getChild(java.lang.String, boolean) ,public me.coley.recaf.ui.controls.tree.DirectoryItem getDeepChild(java.lang.String) ,public java.lang.String getLocalName() ,public void removeSourceChild(TreeItem<me.coley.recaf.workspace.JavaResource>) <variables>private final non-sealed java.lang.String local,private final Map<java.lang.String,me.coley.recaf.ui.controls.tree.DirectoryItem> localToDir,private final Map<java.lang.String,me.coley.recaf.ui.controls.tree.DirectoryItem> localToLeaf