uncommented Data load and path definition function in server