add inline param to the file serving method