Added check to the location provided to createM3FromDirectory.