File absence check added