Fix issue #1268 - App crash with filenames containing '..'

Proposal to resolve issue #1268, Improved RegExp to match out-parent-path pattern