Added file serving tests plus implementation