connect folder obj with and file obj