Added formatting check of local file %% or ||