Filebased wait

just like JDBC

passed Jenkins