Create an method for allocating a handle from a relative path