Thanks to vtorri for this patch
Only the legacy file read function needs to be public. The H file is not needed anymore.