fixed bug within "check-if-file-exist" function