Add check if file to delete is writable
Added session start
Added op start