Add is-file-async method and tests