Adding method for automatically adding trailing slash in destination directory path if it doesn't exist
Should also check if the name string length is 0
Implemented addTrailingSlash method. Other minor changes.

Fixed comment.
Renamed "destinationFileLocation" to "destinationDirLocation" since i'm
using the term "Directory" eveverywhere.