implemented simple file serving support