Implementing getFullPath() method. Security improvements.
adding security check on path on add() and rename() methods.