Add functions to return file details for a pid