Dear Davo,
thank you for this hint. I'm only wondering how to do this with a plugin when the form class definition extends the moodleform_mod which doesn't posses the definition of get_file_content function. From the logical point of view the plugin have the mod_form.php file with the plugin class definition and the lib.php with the functions, responsible for adding and updating the plugin instance.
I assume that the best way to read the configuration file will be to extend the lib.php file by adding additional function which will get the content of the file at the time of creating or editing the plugins value. My question is only how the read the content of file using a function defined in lib.php?
I will appreciate for any suggestion.
Paul