server rework
switch to file read promise