factory file location
build the object from the file
fixed the counter issue