Offline detection
Revert file to original version