in reply to path name & file name
pathname would be the path to where the file resides, while filename would be the name of the file itself. Just as the name implies.