building server to fetch and send file