connect data file to main file to store and request