Reworked error handing in FileReaderPlugin