Changes to FileHelper, to create directory if not exist