Replaced on friendly error messages about the impossibility of reading/writing file