chk_file function

Check File Exists