page wrappers - adding check that $file->source exists before comparing it