get all filepath function