Added open and working on metadata gathering