I was unable to understand the following file constructors.
public File(String parent, String child) and public File(File parent, String child)
"The parent abstract pathname is taken to denote a directory, and the child pathname string is taken to denote either a directory or a file. " As specified on the API