adding ParseFile to Photo boject