Added two methods to FileSystemEntry.java