Thanks for the help, passing the value as a parameter in the read_and_distribute_file_content function from the calling plugin seemed to work!
The parameter is used to determine if the file to be read is coming from a url or is a local file. It would affect the way the function reads in the file if it needs to get said file from a url. Otherwise if it is a local file the function will read in the file as usual. The function is still being called from the appropriate plugins, except now it has the option to read files from a url or from the local system.