asynchronous check if file exists