removed singleton from file class
need to lookup calls merge / attributes
forgot to add page dir
updated doc
singleton working