EDI.py - checked for reading, rotating, writing files... OK

Signed-off-by: LK <LK@uni>
EDI: set_res_phase - included error handling and propagation (to be tested)

Signed-off-by: LK <LK@uni>