check_file_latency: finish plugin functionality
This MR implements check_file_latency
as a proper plugin, rather than just a function called by other plugins.
This MR implements check_file_latency
as a proper plugin, rather than just a function called by other plugins.