Add method createDirectory

This method check if the entered file path is an existing directory, and
if the directory does not exist propose to create the directory