use 'async' check for file existence